package org.xinjiang.data.migration.flush.service;

import org.xinjiang.data.migration.hainan.enums.KeyColumnEnum;

import java.util.Collection;
import java.util.Set;

public interface ISettingSaveService<T> {


    Integer saveBatch(KeyColumnEnum columnEnum, Collection<T> data);

    Integer updateBatchDepartParent(KeyColumnEnum tableSysDepart, Collection<T> converts);

    Integer clearTabelData();

    Integer updateCreateUpdateBy(Integer size);

    Integer updateCreateUserDerart(Integer size);

    Set<String> queryNotIds(KeyColumnEnum tableSysDepart);
}
